const text/template/parse.trimMarkerLen
6 uses
text/template/parse (current package)
lex.go#L106: trimMarkerLen = Pos(1 + 1) // marker plus space before or after
lex.go#L307: if hasRightTrimMarker(l.input[l.pos:]) && strings.HasPrefix(l.input[l.pos+trimMarkerLen:], l.rightDelim) { // With trim marker.
lex.go#L328: afterMarker = trimMarkerLen
lex.go#L358: l.pos += trimMarkerLen
lex.go#L375: l.pos += trimMarkerLen
lex.go#L470: if hasRightTrimMarker(l.input[l.pos-1:]) && strings.HasPrefix(l.input[l.pos-1+trimMarkerLen:], l.rightDelim) {